package com.luyu.util;

import lombok.Setter;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.core.Authentication;
import org.springframework.stereotype.Service;

/**
 * @author luYu
 */
@Service
@Setter
public class LuAuthenticationManager {

    private AuthenticationManager manager;



    public Authentication authenticate(Authentication authentication){
      return   manager.authenticate(authentication);
    }






}
